package com.rftennis.dto;

import java.time.LocalDateTime;

import com.rftennis.entity.ProductEntity;

public class CartContext{
	private String id;//购物车里面每个商品记录的Id
	 private ProductEntity productId;//购物车中对应的商品ID
	 private String amount;//对应商品的数量
	 private LocalDateTime createTime;//加入第一个商品记录的时间
	 private LocalDateTime lastUpdateTime;//每次操作购物车记录的时间
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public ProductEntity getProductId() {
		return productId;
	}
	public void setProductId(ProductEntity productId) {
		this.productId = productId;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public LocalDateTime getCreateTime() {
		return createTime;
	}
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}
	public LocalDateTime getLastUpdateTime() {
		return lastUpdateTime;
	}
	public void setLastUpdateTime(LocalDateTime lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	
	
	
	
	
}